USE [GESTION_MORA]
GO

/****** Object:  StoredProcedure [dbo].[WASP_D0007_CARGO_MORAEMP_MORA_SUC]    Script Date: 11/23/2011 14:40:18 ******/
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[WASP_D0007_CARGO_MORAEMP_MORA_SUC]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[WASP_D0007_CARGO_MORAEMP_MORA_SUC]
GO

USE [GESTION_MORA]
GO

/****** Object:  StoredProcedure [dbo].[WASP_D0007_CARGO_MORAEMP_MORA_SUC]    Script Date: 11/23/2011 14:40:18 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE PROCEDURE [dbo].[WASP_D0007_CARGO_MORAEMP_MORA_SUC]
AS


-- Consultas de informes 
-- smora
truncate TABLE GESTION_MORA.dbo.GMSmora
INSERT  INTO GESTION_MORA.DBO.GMSmora
select cuenta, operacion, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, '1900-01-01',  0, 0
from GMCuentas


GO

